package com.whli.autumn.mall.web.controller.convert.wms;

import com.whli.autumn.mall.wms.domain.entity.Stock;
import com.whli.autumn.mall.wms.domain.vo.stock.StockVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <p>库存信息转换工具</p>
 *
 * @author whli
 * @version 1.0.0
 * @since 2023-04-09 08:37
 */
@Mapper
public interface StockConvert {

    StockConvert INSTANCE = Mappers.getMapper(StockConvert.class);

    StockVO domainToVO(Stock entity);

}
